package org.clickframes.lab;

import javax.annotation.security.DeclareRoles;
import javax.annotation.security.RolesAllowed;
import javax.ejb.Stateless;
import javax.inject.Named;
@DeclareRoles("MANAGER")
@Stateless
public class SecuredBean2 {
	@RolesAllowed("MANAGER")
	public String getSecured(){
		return "Hello World";
	}
	
	public String getVillageBicycle(){
		return "Bonjour tout le monde";
	}
}
